package com.zzc.legou.auth;

import com.zzc.legou.auth.config.properties.JwtCAProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * Hello world!
 */
@SpringBootApplication
@EnableResourceServer
@EnableDiscoveryClient
@EnableFeignClients
@EnableConfigurationProperties(JwtCAProperties.class)
public class AppAuth {
    public static void main(String[] args) {
        SpringApplication.run(AppAuth.class, args);
    }
}
